<?php declare(strict_types=1);

use App\Enums\ResponseEnum;

return [
    ResponseEnum::class => [
        ResponseEnum::HTTP_OK => 'Request successful',
        ResponseEnum::HTTP_FAIL => 'Request failure',
        ResponseEnum::HTTP_ERROR => 'Request error',
        ResponseEnum::HTTP_FREQUENT => 'Request frequent',
        ResponseEnum::CLIENT_NOT_FOUND_HTTP_ERROR => 'Wrong request',
        ResponseEnum::CLIENT_PARAMETER_ERROR => 'Parameter error',
        ResponseEnum::CLIENT_CREATED_ERROR => 'Data already exists',
        ResponseEnum::CLIENT_DELETED_ERROR => 'Data does not exist',
        ResponseEnum::CLIENT_HTTP_UNAUTHORIZED => 'Unauthenticated.',
        ResponseEnum::CLIENT_HTTP_UNAUTHORIZED_EXPIRED => 'Account information has expired, please log in again',
        ResponseEnum::CLIENT_HTTP_UNAUTHORIZED_BLACKLISTED => 'Account is logged in on another device. Please log in again.',
        ResponseEnum::CLIENT_NOT_FOUND_ERROR => 'Not Found',
        ResponseEnum::CLIENT_METHOD_HTTP_TYPE_ERROR => 'HTTP request type error',
        ResponseEnum::CLIENT_UNAUTHORIZED_MEDIA_TYPE_ERROR => 'Unsupported Media Type',
        ResponseEnum::CLIENT_AUTH_UNAUTHORIZED_ERROR => 'Forbidden. Unauthenticated.',
        ResponseEnum::CLIENT_PARAMETER_FORMAT_ERROR => 'Unprocessable Entity',
        ResponseEnum::SYSTEM_ERROR => 'Server Error',
        ResponseEnum::SYSTEM_UNAVAILABLE => 'Server is not available due to maintenance',
        ResponseEnum::SYSTEM_CACHE_CONFIG_ERROR => 'Cache configuration error',
        ResponseEnum::SYSTEM_CACHE_MISSED_ERROR => 'Cache miss',
        ResponseEnum::SYSTEM_CONFIG_ERROR => 'System configuration error',
        ResponseEnum::SYSTEM_QUERY_ERROR => 'Unresolvable Query.',
        ResponseEnum::DELETE_OPTION_ERROR => 'Please select delete item',
        ResponseEnum::DELETE_NOT_EXIST_ERROR => 'Record does not exist',
        ResponseEnum::RECOVER_OPTION_ERROR => 'Please select a restore item',
        ResponseEnum::USER_ADMIN_DELETE_ERROR => 'Unable to delete initial administrator',
        ResponseEnum::FILES_GROUP_ERROR => 'There are attachments under the group',
        ResponseEnum::PERMISSION_EXISTS_DELETE_ERROR => 'Deletion of existing sub permissions is prohibited',
        ResponseEnum::ROLE_EXISTS_DELETE_ERROR => 'System default role cannot be deleted',
        ResponseEnum::ROLE_EXISTS_PER_DELETE_ERROR => 'Permissions exist under this role',
        ResponseEnum::USER_EXISTS_DELETE_ERROR => 'System default users cannot delete',
        ResponseEnum::USER_EXISTS_ROLE_DELETE_ERROR => 'There is a role under this user',
        ResponseEnum::USER_SERVICE_LOGIN_ERROR => 'Incorrect account number or password',
        ResponseEnum::USER_SERVICE_REFRESH_TOKEN_ERROR => 'Failed to refresh TOKEN',
        ResponseEnum::BASIC_USER_ERROR => 'User does not exist',
        ResponseEnum::BASIC_USER_PASSWORD_ERROR => 'Password is incorrect',
        ResponseEnum::BASIC_USER_OLD_PASSWORD_ERROR => 'Cannot use the original password',
        ResponseEnum::UPLOAD_FILE_ERROR => 'Upload failed',
        ResponseEnum::UPLOAD_NETWORK_FILE_ERROR => 'Network address error',
        ResponseEnum::UPLOAD_NETWORK_FILE_IP_NOT_ERROR => 'Network links do not support IP addresses',
        ResponseEnum::UPLOAD_NETWORK_FILE_IS_NOT_ERROR => 'Unable to extract file: resource file not found',
        ResponseEnum::UPLOAD_NETWORK_FILE_FORMAT_ERROR => 'Failed to save：Format error',
        ResponseEnum::UPLOAD_FILE_FORMAT_ERROR => 'File format cannot be uploaded',
        ResponseEnum::UPLOAD_FILE_MAXSIZE_ERROR => 'Size of uploaded files exceeds the limit',
    ]
];
